package com.zimin.cloud.user.biz;

import com.zimin.cloud.mine.pojo.user.business.UserMomentsBO;
import com.zimin.cloud.mine.pojo.user.view.UserMomentsVO;
import com.zimin.cloud.user.service.IUserMomentsService;

import java.util.List;

/**
 * <p>
 * 用户动态表 业务对象
 * </p>
 *
 * @author zimin
 * @since 2022-06-14 15:53
 */
public interface IUserMomentsBiz extends IUserMomentsService {


    /**
     * 添加用户动态
     */
    boolean save(UserMomentsBO userMomentsBO) throws Exception;

    /**
     * <p>获取订单状态</p>
     *
     * @param userId 用户ID
     * @return List<UserMomentsVO>
     * @since 2022-06-30 21:26:16
     */
    List<UserMomentsVO> getUserSubscribedMoments(String userId);
}
